package com.server.groupmanage;

import java.util.List;

import com.dao.groupmanage.IGroupManageDao;
import com.model.groupmanage.GroupManage;

public class GoupManageServer implements IGroupManageServer{
	private IGroupManageDao groupmanagedao;
	public IGroupManageDao getGroupmanagedao() {
		return groupmanagedao;
	}

	public void setGroupmanagedao(IGroupManageDao groupmanagedao) {
		this.groupmanagedao = groupmanagedao;
	}

	
	@Override
	public void save(GroupManage groupmanage) {
		// TODO Auto-generated method stub
		groupmanagedao.save(groupmanage);
		}

	@Override
	public void delete(GroupManage groupmanage) {
		// TODO Auto-generated method stub
		groupmanagedao.delete(groupmanage);
	}

	@Override
	public GroupManage findById(Integer id) {
		// TODO Auto-generated method stub
		return (GroupManage)groupmanagedao.findById(id);
	}

	@Override
	public List findAll() {
		// TODO Auto-generated method stub
		return groupmanagedao.findAll();
	}

	@Override
	public void update(GroupManage groupmanage) {
		// TODO Auto-generated method stub
		groupmanagedao.update(groupmanage);
	}

}
